package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//商品详情
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("spu_detail")
public class Detail {
    @TableId(value = "spu_id",type = IdType.INPUT)
    //商品id
    private int spuId;
    //商品详情
    private String detail;
}
